package com.example.netty.chatSystem.message;

import lombok.Data;

@Data
public class ReceiveMessage extends Message1{
    public String from;
    public String content;

    public ReceiveMessage(String from, String content) {
        this.from = from;
        this.content = content;
    }

    @Override
    public int getMessageType() {
        return 0;
    }
}
